package com.smyh.model.tableModel;

import android.content.Context;
import android.widget.TableRow;


public class KtableView {

    public static int lineWidth = 2;
    public static void setIsEditColNum(Integer isEditColNum) {
        KtableView.isEditColNum = isEditColNum;
    }
    private static Integer isEditColNum = null;

    /*
     * 设置表格的标题头
     */
    public static TableRow addTableHeaders(Context contexts ,String[] header){
        return  AddHeadRow.addTableRow(contexts, header, isEditColNum);
    }

    public static TableRow  addNewRow(Context contexts ,String[] strings){
        return AddContentsRow.addTableRow(contexts,strings,isEditColNum);
    }
}